package com.cskaoyan._01basic._05scanner;

import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        Scanner sca = new Scanner(System.in);

        System.out.println("请输入一个int类型的数字：");
        String numString = sca.nextLine();
        System.out.println("请输入一个String类型字符串：");
        String string = sca.nextLine();
        System.out.println("请输入一个double类型的数字：");
        String doubleString = sca.nextLine();

        System.out.println(numString + doubleString);
        System.out.println(numString + doubleString + string);
    }
}
